package com.eastfair.builder.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import lombok.Data;
import lombok.Builder;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.AllArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;
import com.eastfair.builder.enumeration.ConstructionPersonnelGenderEnum;
import com.eastfair.builder.enumeration.ConstructionPersonnelWorkTypeEnum;
import java.io.Serializable;

/**
 * <p>
 * 实体类
 * 施工人员信息
 * </p>
 *
 * @author linan
 * @since 2023-05-04
 */
@Data
@ApiModel(value = "ConstructionPersonnelUpdateDTO", description = "施工人员信息")
public class ConstructionPersonnelDTO implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键")
    private Long id;

    /**
     * 是否启用：1是；0否
     */
    @ApiModelProperty(value = "是否启用：1是；0否")
    private Integer isEnabled;
    /**
     * 是否删除：1是；0否
     */
    @ApiModelProperty(value = "是否删除：1是；0否")
    private Integer isDeleted;
    /**
     * 项目id
     */
    @ApiModelProperty(value = "项目id")
    private Long projectId;
    /**
     * 子系统id
     */
    @ApiModelProperty(value = "子系统id")
    private Long subsystemId;
    /**
     * 租户id
     */
    @ApiModelProperty(value = "租户id")
    private Long tenantId;
    /**
     * 姓名
     */
    @ApiModelProperty(value = "姓名")
    @Size(max = 255, message = "姓名长度不能超过255")
    private String name;
    /**
     * 性别 #{MALE:男;FEMALE:女}
     */
    @ApiModelProperty(value = "性别 #{MALE:男;FEMALE:女}")
    private ConstructionPersonnelGenderEnum gender;
    /**
     * 身份证号
     */
    @ApiModelProperty(value = "身份证号")
    @Size(max = 255, message = "身份证号长度不能超过255")
    private String cardNumber;
    /**
     * 工种 #{HIGH_ALTITUDE_WORK_PERMIT:高空作业证;ELECTRICIAN_CERT:电工证;OTHER:其他证;}
     */
    @ApiModelProperty(value = "工种 #{HIGH_ALTITUDE_WORK_PERMIT:高空作业证;ELECTRICIAN_CERT:电工证;OTHER:其他证;}")
    private ConstructionPersonnelWorkTypeEnum workType;
    /**
     * 报馆ID
     */
    @ApiModelProperty(value = "报馆ID")
    private Long reportSpaceId;
    /**
     * 展会ID
     */
    @ApiModelProperty(value = "展会ID")
    private Long exhibitionId;
    /**
     * 展位号
     */
    @ApiModelProperty(value = "展位号")
    @Size(max = 100, message = "展位号长度不能超过100")
    private String siteName;
    /**
     * 搭建商ID
     */
    @ApiModelProperty(value = "搭建商ID")
    private Long builderId;


}
